/***     
 * 五同
 * SP_FIVE: 13 
 */

var CardGroupType = require('./CardGroupType');
var CardTool = require('./../CardTool');
var FindSameCardValueTool = require('./../FindTool/FindSameCardValueTool');
var _ = require('./../Underscore');
var GroupFive = module.exports = {};

/***
 * 获取结果
 * _cardInfoList：牌信息
 * return {isFind:(false or true 是否找到)}
 */
GroupFive.getMoreResult = function(_cardInfoList) {
    var result = FindSameCardValueTool.getResult(_cardInfoList, 5);
    result.groupType = CardGroupType.SP_FIVE;
    result.findGroupMore = result.findGroup;
    CardTool.LogResult(result, this.getName());
    return result;
};


GroupFive.getName = function() {
    return '五同';
};

GroupFive.getType = function() {
    return CardGroupType.SP_FIVE;
};